﻿using System;

namespace Server.EventHandlers
{
    /// <summary>
    /// Represents the method that will handle the event of an object.
    /// </summary>
    /// <typeparam name="TSender">The type of the source of the event.</typeparam>
    /// <typeparam name="TEventArgs">The type of the object that contains the event data.</typeparam>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">The object that contains the event data.</param>
    public delegate void GenericEventHandler<TSender, TEventArgs>(TSender sender, TEventArgs e) where TEventArgs : EventArgs;
}
